package com.hsd.service.impl;

import com.hsd.mapper.ICategoryDao;
import com.hsd.entity.Category;
import com.hsd.service.ICategoryService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class ICategoryServiceImpl implements ICategoryService {
    @Resource
    private ICategoryDao categoryDao;
    @Override
    public List<Category> findAll() {
        return categoryDao.selectAll();
    }
}
